package com.mall.search.feign;

import com.mall.common.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author: 谢君臣
 * @Date: 2022/8/4-14:16
 * @version: 1.0
 * @function:
 */
@FeignClient("productServer")
public interface ProductFeignClient {
    @GetMapping("/product/attr/{attrId}")
    Result attrInfo(@PathVariable("attrId") Long attrId);
}
